package com.erp.erp_dao.Menum;

import com.erp.erp_entitys.Menum.MenuEntity2;
import com.erp.erp_entitys.Menum.MenuEntity2Example;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface IMenuDAO {
    long countByExample(MenuEntity2Example example);

    int deleteByExample(MenuEntity2Example example);

    int deleteByPrimaryKey(Integer id);

    int insert(MenuEntity2 record);

    int insertSelective(MenuEntity2 record);

    List<MenuEntity2> selectByExample(MenuEntity2Example example);

    MenuEntity2 selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MenuEntity2 record, @Param("example") MenuEntity2Example example);

    int updateByExample(@Param("record") MenuEntity2 record, @Param("example") MenuEntity2Example example);

    int updateByPrimaryKeySelective(MenuEntity2 record);

    int updateByPrimaryKey(MenuEntity2 record);
}